package com.lala.rennigou.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import org.apache.solr.client.solrj.beans.Field;

import java.io.Serializable;

@Data
public class EasybuyProduct implements Serializable {
//    private static final long serialVersionUID = 5428640328761535615L;
    @Field("id")
    private String id;
    @Field("name_ik")
    private String name;
    @Field("description_s")
    private String  description;
    @Field("price_f")
    private Float price;
    @Field("stock_i")
    private int stock;
    @Field("categorylevel1id_i")
    private int categorylevel1id;
    @Field("categorylevel2id_i")
    private int categorylevel2id;
    @Field("categorylevel3id_i")
    private int categorylevel3id;
    @Field("filename_s")
    private String filename;
    @Field("isdelete_i")
    private int isdelete;
    @TableField(exist = false)
    private int num;

    @TableField(exist = false)
    private String categorylevel1name;
    @TableField(exist = false)
    private String categorylevel2name;
    @TableField(exist = false)
    private String categorylevel3name;
}
